package com.fanli.staff.mapper;

import com.fanli.staff.pojo.Staff;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StaffMapper {
    List<Staff> selectAll();
    Staff selectById(Integer id);
    void save(Staff staff);
    void update(Staff staff);
    void delete(Integer id);

}
